package com.smarthome.core.statisticsquery.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.smarthome.base.service.ShOrdersService;
import com.smarthome.core.statisticsquery.OrderStatisticsService;
import com.smarthome.domain.bean.ShOrders;
import com.smarthome.domain.vo.boss.DataGrid;
import com.smarthome.domain.vo.boss.PageHelper;

@Service
public class OrderStatisticsServiceImpl implements OrderStatisticsService {

	@Resource
	private ShOrdersService shOrdersOfSendCourierService;

	@Override
	public Map<String, Object> getCountAll(ShOrders shOrders) {
		return shOrdersOfSendCourierService.getCountAll(shOrders);
	}

	@Override
	public DataGrid queryShOrdersPage(ShOrders shOrders, PageHelper page) {
		return shOrdersOfSendCourierService.queryShOrdersPage(shOrders, page);
	}

	@Override
	public Map<String, Object> getPicCount(ShOrders shOrders) {
		return shOrdersOfSendCourierService.getPicCount(shOrders);
	}

}
